package com.bawei.base.room

import androidx.room.Database
import androidx.room.RoomDatabase
import com.bawei.base.bean.LoginCodeResult

@Database(entities = [LoginCodeResult::class,KeyEntity::class,MessageEntity::class], version = 1, exportSchema = false)
abstract class AppDataBase:RoomDatabase() {
    abstract fun getUser():UserDao
    //
    abstract fun getKey():KeyDao
    //
    abstract fun getMessage():MessageDao
}